package com.spring.pojo;

import lombok.Data;

@Data
public class Hello {
    private String str;

    public Hello() {
        System.out.println("无参");
    }

    public Hello(String str) {
        this.str = str;
        System.out.println("有参");
    }
}
